/* 统一过渡效果 */
* {
  transition: all 0.2s ease;
}

/* Hover效果：控件位移+按钮放大 */
.el-button, .el-card, .el-menu-item, .el-tabs__item {
  transition: transform 0.2s ease;
}

.el-button:hover, .el-card:hover, .el-menu-item:hover, .el-tabs__item:hover {
  transform: translate(0, -2px);
}

.el-button:hover {
  transform: translate(0, -2px) scale(1.02);
}

/* Click效果：按钮缩小 */
.el-button:active {
  transform: scale(0.98);
}

/* 统一卡片样式 */
.page-container {
  background-color: var(--el-bg-color);
  border-radius: var(--el-border-radius-lg);
  box-shadow: var(--el-box-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

/* 页面间距 */
.page-content {
  padding: 20px;
}

body {
  margin: 0;
  display: flex;
  place-items: flex-start; /* 改为顶部对齐，避免内容居中导致的布局问题 */
  min-width: 320px;
  min-height: 100vh;
  /* 金属质感浅灰色渐变背景 */
  background: linear-gradient(
    135deg,
    #f0f2f5 0%,
    #e5e9f2 50%,
    #dcdfe6 100%
  ) !important;
  background-attachment: fixed !important;
}